package org.example.springboot.convert;

import org.example.springboot.entity.DecisionTime;
import org.example.springboot.vo.DecisionTimeVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 
*
* @author Fz
* @since 1.0.0 2024-07-31
*/
@Mapper
public interface DecisionTimeConvert {
    DecisionTimeConvert INSTANCE = Mappers.getMapper(DecisionTimeConvert.class);

    DecisionTime convert(DecisionTimeVO vo);

    DecisionTimeVO convert(DecisionTime entity);

    List<DecisionTimeVO> convertList(List<DecisionTime> list);

}